package com.example.blog.dao;


import com.example.blog.model.Article;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface ArticleDAO extends JpaRepository<Article, Integer> {

    List<Article> findAllByUserId(int userId
    );
}
